package gao.xiaolei.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.time.LocalDateTime;

@Entity
@Data
public class TestRun extends TestBase {

    @Column(name = "describe_text", columnDefinition = "text")
    private String describe;//测试集描述或者测试执行描述

    @Column
    private Integer priority;// 测试执行的优先级

    @Column
    private String testDesign;//执行的测试计划

    public TestRun(String id, String title, String author, String describe, String project, Integer status, Integer priority, Integer leaf, String parentId, String testDesign,LocalDateTime createDate, LocalDateTime updateDate) {
        super(id, title, author, project, status, leaf, parentId, createDate, updateDate);
        this.describe = describe;
        this.priority = priority;
        this.testDesign=testDesign;
    }

    public TestRun() {
    }
}
